package com.demo.javamail.config;

/**
 * 邮件服务配置
 */
public class MailConfig {

    public static String host;
    public static Integer port;
    public static String userName;
    public static String passWord;
    public static String emailForm;
    public static String timeout;
    public static String personal;
    public static String authCode;
    static{
        init();
    }

    /**
     * 初始化
     */
    private static void init() {
        //如下配置可在diamond中动态配置，示例代码如下
        host = "smtp.126.com";
        userName = "beyound_liang@126.com";
        port = 25;
        passWord = "liangliang666";
        emailForm = "beyound_liang@126.com";
        timeout = "5000";
        personal = "测试用户ZLL";
    }
}
